package cn.kgc.student.pojo;

import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
* 描述：班级实体类
* @author 魏耀423432
* @date 2019/07/22
*/
public class Classes implements Serializable {

   /**班级编号*/
    private Long id;
   /**班级名称*/
    private String cname;

    public Classes(){}
    
    public Classes(Long id,String cname){
        this.id = id;
        this.cname = cname;
    }

   /**获取班级编号属性的值*/
    public Long getId() {
        return this.id;
    }
   /**设置班级编号属性的值*/
    public void setId(Long id) {
        this.id = id;
    }
   /**获取班级名称属性的值*/
    public String getCname() {
        return this.cname;
    }
   /**设置班级名称属性的值*/
    public void setCname(String cname) {
        this.cname = cname;
    }
}
